logging:
  file:
    name: logs/${spring.application.name}.log
  level:
    root: warn
    '[org.jmresler.sakila.batch]': debug

spring:
  batch:
    jdbc:
      initialize-schema: always
      platform: h2
  datasource:
    meta:
      driver-class-name: org.h2.Driver
      url: jdbc:h2:file:./data/meta
      username: root
      password: password
    sakila:
      driver-class-name: org.h2.Driver
      url: jdbc:h2:file:./data/sakila;INIT=RUNSCRIPT FROM 'src/main/resources/init-h2-script.sql'
      username: root
      password: password
  jpa:
    defer-datasource-initialization: true
    generate-ddl: true
    properties:
      hibernate:
        '[show_sql]': true
        '[format_sql]': true
        '[use_sql_comments]': true